<!-- 新建筆記对话框 -->
<div class="modal hide" id="note" style="height: 200px; width: 600px;">
	<div class="modal-header" style="height: 40px;">
		<button type="button" class="close" data-dismiss="modal">&times;</button>
		<h3 style="color: white">笔记</h3>
	</div>
	<div class="modal-body">
		<form class="title" action="${contextPath!}/notes/newNote"
			method="post">
			<input class="input-xxlarge" type="text" name="noteName"
				placeholder="无主题" style="height: 34px;" required> <#if
			session["pName"]?exists??> <a href="#"
				class="btn  btn-primary disabled">当前笔记本：“${session["pName"]!"你没有选择笔记本，请先选中笔记本！"}”</a>
			</#if>
			<div class="modal-footer">
				<button class="btn btn-primary" type="submit">保存</button>
				<button class="btn btn-warning" type="reset">重置</button>
			</div>
		</form>
	</div>
</div>
<!-- 删除对话框 -->

<div class="modal hide" id="delete" style="height: 170px; width: 600px;">
	<div class="modal-header" style="height: 40px;">
		<button type="button" class="close" data-dismiss="modal">&times;</button>
		<h3 style="color: white">确认删除</h3>
	</div>

	<div class="modal-body" style="height: 65px;">
		<#if session["noteName"]?exists??> <a href="#"
			class="btn  btn-danger disabled">确定删除选定的笔记:“${session["noteName"]!"你没有选择要删除的笔记，请先选中笔记！"}”?</a>
		</#if>

	</div>

	<form class="title" action="${contextPath!}/notes/deleteNote"
		method="post">
		<div class="modal-footer" style="height: 35px;">
			<button class="btn btn-primary" type="submit">确定</button>
		</div>
	</form>
</div>

